package com.blb.eduuserservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.common.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xray
 * @since 2023-01-31
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过用户名查询所有权限字符串
     * @param username
     * @return
     */
    List<String> selectAuthoritiesByUsername(String username);

}
